package com.cf.game.message;

/**
 * game-server-EnumMessageType
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/5/7 下午 04:39
 */
public enum EnumMessageType {

    GameStartResponse(1, GameStartResponse.class, "匹配成功的响应"),
    BeatRequest(2, BeatRequest.class, "用户击打的消息"),
    BeatResponse(3, BeatResponse.class, "用户击打的响应"),
    PunishResponse(4, PunishResponse.class, "NPC惩罚通知"),
    PunishNotifyResponse(5, PunishNotifyResponse.class, "受惩罚通知"),
    GameResultResponse(6, GameResultResponse.class, "游戏结果通知");

    private Integer type;

    private Class clazz;

    private String info;

    EnumMessageType(Integer type, Class clazz, String info) {
        this.type = type;
        this.clazz = clazz;
        this.info = info;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
